Refresh Dired and VC-dir buffers after vc-pull and vc-merge.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 29 Jan 2011 21:19:21 +0000 (16:19 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 29 Jan 2011 21:19:21 +0000 (16:19 -0500)
commit5c82a23b4cbfc4a459e92ab027f6e01e19e8ceca
treed6bfed88214d20c08cd6a1a29c890c5b6a3331ab
parentfa7f3415915506e74402b693d671bc0fd5a4b350
Refresh Dired and VC-dir buffers after vc-pull and vc-merge.

* vc/vc-dispatcher.el (vc-set-async-update): New function for
updating Dired or VC-dir buffers after async command completes.

* vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
(vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.

* vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
completions if it exists.  Use vc-set-async-update.
(vc-git-pull): Use vc-set-async-update.

* vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
read-shell-command.  Use vc-set-async-update.
(vc-hg-merge-branch): Use vc-set-async-update.
lisp/ChangeLog
lisp/vc/vc-bzr.el
lisp/vc/vc-dispatcher.el
lisp/vc/vc-git.el
lisp/vc/vc-hg.el